package com.wing.device.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-08-22 10:45
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pro_maintenance_execute")
public class MaintenanceExecute extends BaseEntity<MaintenanceExecute> implements Serializable {

    private static final long serialVersionUID = 1L;

    //执行保养任务id
    private Long taskId;

    //执行处置编号
    private String executeNo;

    //所属成本中心
    private String costCenter;

    //完成备注
    private String endRemark;

    //用料总金额
    private BigDecimal materialAmount;

    //实际用时
    private Double userTime;

    //停机时间
    private LocalDateTime stopTime;

    //故障描述
    private String faultDescription;

    //修复方法描述
    private String repairDescription;

    //遗留问题
    private String remainingProblems;

    //故障原因
    private String faultReason;
}
